package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 环保-环评查询
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_hpcx")
@ApiModel(value="ZbAsHpcxEntity对象", description="环保-环评查询")
public class ZbAsHpcxEntity extends Model<ZbAsHpcxEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "SERIALNO", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "企业名称")
    @TableField("ENTNAME")
    private String entname;

    @ApiModelProperty(value = "组织机构代码")
    @TableField("ENTCODE")
    private String entcode;

    @ApiModelProperty(value = "企业地址")
    @TableField("ENTADDRESS")
    private String entaddress;

    @ApiModelProperty(value = "法人代表")
    @TableField("LEGAL")
    private String legal;

    @ApiModelProperty(value = "A：环保诚信企业(绿牌)B：环保良好企业(蓝牌)C：环保警示企业(黄牌)D：环保不良企业(红牌、黑牌)")
    @TableField("EVALUERANK")
    private String evaluerank;

    @ApiModelProperty(value = "公布机构")
    @TableField("ANNORG")
    private String annorg;

    @ApiModelProperty(value = "评价年度")
    @TableField("EVALUEYEAR")
    private String evalueyear;

    @ApiModelProperty(value = "评定日期")
    @TableField("EVALUEDATE")
    private String evaluedate;

    @ApiModelProperty(value = "公布时间")
    @TableField("ANNODATE")
    private String annodate;

    @ApiModelProperty(value = "备注")
    @TableField("REAMRK")
    private String reamrk;

    @ApiModelProperty(value = "省份")
    @TableField("PROVINCE")
    private String province;

    @ApiModelProperty(value = "城市")
    @TableField("CITY")
    private String city;

    @ApiModelProperty(value = "采集时间")
    @TableField("COLLECTIONDATE")
    private String collectiondate;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
